{{Strip}}
<ul class="list-inline clearfix xs-padding-left">
{{range $k, $c := $.Stored.cmdList}}
<li class="pull-left no-padding-left">
  <span class="checkbox checkbox-success">
    <input type="checkbox" name="permCmd[]" value="{{$c.Id}}"{{if call $.Func.PermissionCheckByType $.Stored.permission `command` (Str $c.Id)}} checked{{end}} id="permCmd-{{$c.Id}}" /> 
  <label for="permCmd-{{$c.Id}}">{{$c.Name|$.T}}</label>
  </span>
</li>
{{end}}
</ul>
{{/Strip}}